﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;



namespace Toolbox
{
    

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            txtInput.Text = "A C D\r\nB C E\r\nA B C E\r\nB E";
        }

        ArrayList tables = new ArrayList();
        private void btnStart_Click(object sender, EventArgs e)
        {
            tables.Add(new Apriori.ItemMatrix(txtInput.Text));
            int i = 0;
            while(true)
            {
                i++;
                Apriori.ItemMatrix m = Apriori.GetCandidate((Apriori.ItemMatrix)tables[0],2);
            }

        }

        
        
    }
}
